class MessageRowEntity {
  List<MessageRowInfo>? rows;
  MessageRowEntity({this.rows});

  factory MessageRowEntity.fromJson(Map<String, dynamic> json) {
    final originList = json['rows'] as List?;
    List<MessageRowInfo> protocolList =
        (originList??[]).map((value) => MessageRowInfo.fromJson(value)).toList();
    return MessageRowEntity(
      rows: protocolList,
    );
  }
}

class MessageRowInfo {
  String? body;
  String? createdDate;
  String? iconUrl;
  String? typeName;
  String? srcBizId;
  num? tagTwo;

  MessageRowInfo({
    this.body,
    this.createdDate,
    this.iconUrl,
    this.typeName,
    this.srcBizId,
    this.tagTwo
  });

  MessageRowInfo.fromJson(Map data) {
    body = data['body'];
    createdDate = data['createdDate'];
    iconUrl = data['iconUrl'];
    typeName = data['typeName'];
    srcBizId = data['srcBizId'];
    tagTwo = data['tagTwo'];
  }
}
